const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjJjOTI4Y2UwOTFkZmJiMDYwMTkxZTA3NmJkNTcwMDlkIiwidXNlcl9uYW1lIjoibGl1YmluZyIsInNjb3BlIjpbInJlYWQiXSwibW9iaWxlIjpmYWxzZSwiaXNBZG1pbiI6dHJ1ZSwiZXhwIjoxNzI5NjUwMTg1LCJpc0FwcEFkbWluIjpmYWxzZSwiYXV0aG9yaXRpZXMiOlsiVVNFUiIsIkFVVEhfU1lTVEVNX01BTkFHRSJdLCJqdGkiOiJlYWVlMDQ3MC0xZWRkLTRjMjEtOWRiZi01NWRhMWNhZmExM2YiLCJjbGllbnRfaWQiOiJhcGkifQ.d0KC-tE8JCuceC0klByCNIv6sLp2L6NoZFf4fypUCxTyhAtDmiR1qL7VVWCcq8hXvUjDmS4M1hBlI6_-4MmNb9yzA4_jMxHwXaZTXRCB177TQwl0YSDAurtFuhkL1BwZj_ZlC973ouKqASxtyJBjaG_LOtivKn17ZyWmfQXPbl4'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
